package org.anyin.gitee.cloud.center.auth.controller.form;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import org.anyin.gitee.cloud.center.auth.enums.LoginTypeEnum;
import org.anyin.gitee.cloud.lib.core.web.serializer.StringAsDictDeserializer;

@Data
public class LoginForm {

    private String username;

    private String mobile;

    private String email;

    private String password;

    private String code;

    @JsonDeserialize(using = StringAsDictDeserializer.class)
    private LoginTypeEnum type;
}
